package cate.game.role.farm.adventure.task.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBAdventure;
import easy.java.dev.note.NoteField;

import java.util.Set;

@ClientMsg(title = "重置一键领取的tid 的 请求")
public class ResetAccessTidsReq implements MsgInput {
    @NoteField("选择一键接取的tid")
    public Set<Integer> tids;

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getFarm().adventure.task.resetTids(tids);
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBAdventure.RESET_ACCESS_TIDS_REQ;
    }
}
